<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>JS学习</title>
    <style>
        a{
            display: block;
            width: 50px;
            height: 50px;
        }
    </style>
</head>
<body>
<header></header>
<div class="container">
    <nav></nav>
</div>
<a href="javascript:alert('hello')">test</a>
<input type="text" value="test" onclick="alert('Hello')">


<footer></footer>


    <script src="js/script.js"></script>
</body>
</html>